class ReciboMailer < ActionMailer::Base
  add_template_helper(UtilHelper)
  add_template_helper(ApplicationHelper)
  def recibo_email(recibo)
    recipients  recibo.usuario.email
    from        "Administracion"
    subject     "Recibo de #{recibo.tipo} #{recibo.mes} - #{recibo.anho}"
    sent_on     Time.now
    body        :recibo => recibo, :url => APP_CONFIG[:site_url]
    content_type "text/html"
  end
  

end
